import axios from '../utils/config';


export const getLoginLog = () => axios.get("/getloginlog")

export const getStudentList = () => axios.get("/students/getstulist")

export const addStudent = (data = {}) => axios.post("/students/addstu", data)

//删除学员信息
export const delStudent = id => axios.get("/students/delstu", { params: { sId: id } })

//修改学员信息
export const updataStudent = (data = {}) => axios.post("/students/updatestu", data)
